-- GENERATED SPELL FOR [Surge Needle Sorcerer] --


function spell0_26257(pUnit, Event) --@Arcane Blast,n/a--
pUnit:FullCastSpellOnTarget(51797,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26257', 1500, 1)
end

function Sorts_26257(pUnit, Event)
local choix_sorts_26257 = math.random(0, 0)
if choix_sorts_26257 == 0 then
pUnit:RegisterEvent('spell0_26257', 1, 1)
end
end

function mob26257_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26257', math.random(1500, 3000), 1)
end

function mob26257_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26257_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26257_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26257, 1, 'mob26257_Action')
RegisterUnitEvent(26257, 2, 'mob26257_Leave')
RegisterUnitEvent(26257, 3, 'mob26257_Kill')
RegisterUnitEvent(26257, 4, 'mob26257_Die')
